package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: 2022-09-19_userCenter
 * @description: 业态用户授权
 * @author: SYF
 * @create: 2022-09-19
 **/
@Data
@ApiModel(value = "业态用户授权", description = "业态用户授权")
public class FormatUserAuthorizationReq extends BaseReqObj {
    private static final long serialVersionUID = -194087473942349605L;
    /**
     * 用户id
     */
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty(value = "用户id", notes = "用户id", dataType = "Integer", required = true)
    private Integer userId;

    @NotNull(message = "业态公司id不能为空")
    @ApiModelProperty(value = "业态公司id", notes = "业态公司id", dataType = "Integer", required = true)
    private Integer formatId;
}
